package com.example.loop;

public class ForDemo01 {
    public static void main(String[] args) {
        int i=0;
        for (i=1;i<=100;i++){
            System.out.println(i);
        }
        System.out.println(i);

//        Runtime runtime = Runtime.getRuntime();
        Runtime runtime = Runtime.getRuntime();
        System.out.println(runtime.availableProcessors());
        System.out.println(runtime.totalMemory() / 1024 / 1024+"MB");
    }
}
